package com.jpa.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jpa.dao.RoleDao;
import com.jpa.pojo.Role;
import com.jpa.service.RoleService;

@Service
public class RoleServiceImpl implements RoleService {

	@Autowired
	RoleDao roleDao;

	@Override
	public List<Role> findRoles(String name) {
		return roleDao.findRoles(name);
	}

}
